/**
 * <p>Title: MaterialAnalysisDao</p>
 * <p>Description: MaterialAnalysisDao 接口</p>
 * <p>Copyright: Shanghai Batchsight Pharmaceutical Technologies, Inc. Copyright(c) 2016</p>
 * @author Wan shuaishuai
 * @version 1.0
 * <pre>Histroy:
 *       2017-2-19  Wan shuaishuai Create
 *</pre>
*/
package cn.jhg.account.persist;

import cn.jhg.account.entity.MaterialAnalysis;


public interface MaterialAnalysisDao {
	/**
	 * 新增原料分析
	 * @author Wan shuaishuai
	 * @param materialAnalysis	原料分析实体
	 * @return 更新条数
	 */
	public int addMaterialAnalysis(MaterialAnalysis materialAnalysis);
	
	/**
	 * 通过批次id获取分析成分id
	 * @author Wan shuaishuai
	 * @param batchId 批次id
	 * @return String 分析成分id
	 */
	public String queryCompIdByBatchId(int batchId); 
}
